type TbGamePublisher = {
  gpid: number
  publisher: string
  intro: string
  created: number | string
}

type TbGame = {
  gid: number
  publisher: number
  gname: string
  intro: string
  created: number | string
  tbGamePublisher: TbGamePublisher
}

type TbSoftwareType = {
  stid: number
  tname: string
  intro: string
}

type TbSoftware = {
  sid: number
  stid: number
  sname: string
  intro: string
  vendor: string
  type: TbSoftwareType
}

type TbMovie = {
  mid: number
  title: string
  intro: string
}

type TbMoviesCheduling = {
  msid: number
  mid: number
  hall: string
  startTime: number | string
  movie: TbMovie
}

type TbFootballTeam = {
  ftid: number
  tname: string
  league: string
  intro: string
  champions: number
  cups: number
  fans: number
  goals: number
  gname: string
  created: number | string
}

type TbCpuInfo = {
  id: number
  cpu: string
  manufacturer: string
  info: string
  cores: number
  threads: number
  frequency: string
  maxFrequency: string
  releaseDate: number | string
}

type TbBillboard = {
  bid: number
  username: string
  title: string
  content: string
  topIndex: number
  lastupdate: number | string
}

export type {
  TbGamePublisher,
  TbGame,
  TbSoftwareType,
  TbSoftware,
  TbMovie,
  TbMoviesCheduling,
  TbFootballTeam,
  TbCpuInfo,
  TbBillboard,
}
